package com.bussiness.xutai.mapper;

import com.bussiness.xutai.bean.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper {
    List<Product> selectAll();
    Product queryById(Product product);
    boolean insertAll(Product product);
    boolean updateById(Product product);
    boolean deleteById(Product product);
    int selectCount();
    List<Product> selectSize(@Param("page") int start, @Param("rows") int size);

}